package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.UserMaintainLogDao;
import io.wdb.modules.generator.generator.entity.UserMaintainLogEntity;
import io.wdb.modules.generator.generator.service.UserMaintainLogService;



@Service("userMaintainLogService")
public class UserMaintainLogServiceImpl implements UserMaintainLogService {
	@Autowired
	private UserMaintainLogDao userMaintainLogDao;
	
	@Override
	public UserMaintainLogEntity queryObject(String userId){
		return userMaintainLogDao.queryObject(userId);
	}
	
	@Override
	public List<UserMaintainLogEntity> queryList(Map<String, Object> map){
		return userMaintainLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return userMaintainLogDao.queryTotal(map);
	}
	
	@Override
	public void save(UserMaintainLogEntity userMaintainLog){
		userMaintainLogDao.save(userMaintainLog);
	}
	
	@Override
	public void update(UserMaintainLogEntity userMaintainLog){
		userMaintainLogDao.update(userMaintainLog);
	}
	
	@Override
	public void delete(String userId){
		userMaintainLogDao.delete(userId);
	}
	
	@Override
	public void deleteBatch(String[] userIds){
		userMaintainLogDao.deleteBatch(userIds);
	}
	
}
